---
page_title: "cloudflare_api_shield_schema_validation_settings Resource - Cloudflare"
subcategory: ""
description: |-
  Provides a resource to manage settings in API Shield Schema Validation 2.0.
---

# cloudflare_api_shield_schema_validation_settings (Resource)

Provides a resource to manage settings in API Shield Schema Validation 2.0.

## Example Usage

```terraform
resource "cloudflare_api_shield_schema_validation_settings" "example" {
  zone_id                               = "0da42c8d2132a9ddaf714f9e7c920711"
  validation_default_mitigation_action  = "log"
  validation_override_mitigation_action = "none"
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `validation_default_mitigation_action` (String) The default mitigation action used when there is no mitigation action defined on the operation.
- `zone_id` (String) The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**

### Optional

- `validation_override_mitigation_action` (String) When set, this overrides both zone level and operation level mitigation actions.

### Read-Only

- `id` (String) The ID of this resource.


